﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class menu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public string SetSel(string pageName)
    {
        string strUrl = Request.RawUrl;
        string strCss = "class=\"onShow\"";
        //获取页面名称
        string strPageName = publicConn.GetPageNameWithParam(strUrl, false);
        if (pageName == strPageName)
        {
            return strCss;
        }
        else
        {
            return "";
        }
    }
}
